package com.hailiang.study.javase.java.util;

import org.junit.Test;

import java.util.Arrays;

/**
 * Arrays.sort():对数组进行排序(由小到大)
 */
public class Arrays_sort {
    @Test
    public void test_sort() {
        int[] numGroup = {25,12,68,78,33,55};
        Arrays.sort(numGroup);
        for (int i : numGroup) {
            System.out.print(i+"\t");
        }
    }
}
